Skip to content

Enforce server-side client identity assignment in CommInit handshake#292

Closed
sameehj wants to merge 1 commit intowolfSSL:mainfrom
sameehj:fix
Closed

Enforce server-side client identity assignment in CommInit handshake#292
sameehj wants to merge 1 commit intowolfSSL:mainfrom
sameehj:fix

Conversation

@sameehj
Copy link
Copy Markdown
Contributor

@sameehj sameehj commented Feb 27, 2026

The client_id is now configured in whCommServerConfig and assigned by the server during CommInit rather than being taken from the request. This ensures the server is the authority on client identity.

Changes:

  • Add client_id field to whCommServerConfig
  • Add expected_client_id to whCommServer context
  • Server uses configured identity during CommInit
  • Update all test, benchmark, and example configs

The client_id is now configured in whCommServerConfig and assigned by
the server during CommInit rather than being taken from the request.
This ensures the server is the authority on client identity.

Changes:
- Add client_id field to whCommServerConfig
- Add expected_client_id to whCommServer context
- Server uses configured identity during CommInit
- Update all test, benchmark, and example configs

Signed-off-by: Sameeh Jubran <sameeh.j@gmail.com>
@sameehj sameehj closed this Feb 27, 2026
@sameehj sameehj deleted the fix branch February 27, 2026 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant